Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:templete/error.html" on line 16 "{if preg_match("/iPhone/", $user_agent)}" unknown modifier 'preg_match' <-- thrown in /var/www/html/view/templete/error.html on line 16